package com.ruoyi.warehouse.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库单对象 in_order
 *
 * @author wujian
 * @date 2025-06-13
 */
public class InOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long orderNo;

    /** 样品编号 */
    @Excel(name = "样品编号")
    private String sampleNo;

    /** 调查船 */
    @Excel(name = "调查船")
    private String surveyShip;

    /** 航次 */
    @Excel(name = "航次")
    private String voyage;

    /** 海域 */
    @Excel(name = "海域")
    private String marineArea;

    /** 占位 */
    @Excel(name = "占位")
    private String position;

    /** x坐标 */
    @Excel(name = "x坐标")
    private BigDecimal xCoordinate;

    /** y坐标 */
    @Excel(name = "y坐标")
    private BigDecimal yCoordinate;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailAddress;

    /** 结束深度（m） */
    @Excel(name = "结束深度", readConverterExp = "m=")
    private BigDecimal endDepth;

    /** 心长（m） */
    @Excel(name = "心长", readConverterExp = "m=")
    private BigDecimal heartLong;

    /** 存放位置 */
    @Excel(name = "存放位置")
    private String storageLocation;

    /** 保存状况 */
    @Excel(name = "保存状况")
    private BigDecimal preservationStatus;

    public void setOrderNo(Long orderNo)
    {
        this.orderNo = orderNo;
    }

    public Long getOrderNo()
    {
        return orderNo;
    }

    public void setSampleNo(String sampleNo)
    {
        this.sampleNo = sampleNo;
    }

    public String getSampleNo()
    {
        return sampleNo;
    }

    public void setSurveyShip(String surveyShip)
    {
        this.surveyShip = surveyShip;
    }

    public String getSurveyShip()
    {
        return surveyShip;
    }

    public void setVoyage(String voyage)
    {
        this.voyage = voyage;
    }

    public String getVoyage()
    {
        return voyage;
    }

    public void setMarineArea(String marineArea)
    {
        this.marineArea = marineArea;
    }

    public String getMarineArea()
    {
        return marineArea;
    }

    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }

    public void setxCoordinate(BigDecimal xCoordinate)
    {
        this.xCoordinate = xCoordinate;
    }

    public BigDecimal getxCoordinate()
    {
        return xCoordinate;
    }

    public void setyCoordinate(BigDecimal yCoordinate)
    {
        this.yCoordinate = yCoordinate;
    }

    public BigDecimal getyCoordinate()
    {
        return yCoordinate;
    }

    public void setDetailAddress(String detailAddress)
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress()
    {
        return detailAddress;
    }

    public void setEndDepth(BigDecimal endDepth)
    {
        this.endDepth = endDepth;
    }

    public BigDecimal getEndDepth()
    {
        return endDepth;
    }

    public void setHeartLong(BigDecimal heartLong)
    {
        this.heartLong = heartLong;
    }

    public BigDecimal getHeartLong()
    {
        return heartLong;
    }

    public void setStorageLocation(String storageLocation)
    {
        this.storageLocation = storageLocation;
    }

    public String getStorageLocation()
    {
        return storageLocation;
    }

    public void setPreservationStatus(BigDecimal preservationStatus)
    {
        this.preservationStatus = preservationStatus;
    }

    public BigDecimal getPreservationStatus()
    {
        return preservationStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("orderNo", getOrderNo())
                .append("sampleNo", getSampleNo())
                .append("surveyShip", getSurveyShip())
                .append("voyage", getVoyage())
                .append("marineArea", getMarineArea())
                .append("position", getPosition())
                .append("xCoordinate", getxCoordinate())
                .append("yCoordinate", getyCoordinate())
                .append("detailAddress", getDetailAddress())
                .append("endDepth", getEndDepth())
                .append("heartLong", getHeartLong())
                .append("storageLocation", getStorageLocation())
                .append("preservationStatus", getPreservationStatus())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
